package behaviorType.command;

public class EndCommandImpl implements ICommand {

    private Player player;

    public EndCommandImpl(Player player) {
        this.player = player;
    }

    @Override
    public void execute() {
        player.rest();
    }
}
